package edu.sctu.practice.class01.wujiayi.text02;

/**
 * Created by acer1 on 2015/10/15.
 */
public class Vehicle {

    public float speed;
    public float size;

    public void move(){

        System.out.println("开始移动，初始速度为0");
    }

    public void setSpeed(){

        System.out.println("设置平均速度为60km/h");

    }

    public void speedUp(){

        System.out.println("提高速度为80km/h");

    }

    public void speedDown(){

        System.out.println("降低速度为40km/h");

    }
}
